package cn.qfei.qiyuesuo.common.enums;

public enum ErrorCode {
    //系统级
    SUCCESS("0", "success"),
    CONTRACT_SATUS_FA("10001", "合同流程状态不满足"),
    FALSE("-1", "false");


    private String code;
    private String text;

    private ErrorCode(String code, String text) {
        this.code = code;
        this.text = text;
    }

    @Override
    public String toString() {
        return "ErrorCode{" +
                "code='" + code + '\'' +
                ", text='" + text + '\'' +
                '}';
    }

    public String getCode() {
        return code;
    }

    private void setCode(String code) {
        this.code = code;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {

        this.text = text;
    }


}
